Skip to main content

alignImage

Type​

property

Summary​

Specifies how the image is aligned in the widget.

Syntax​

set the alignImage of widget to {<topLeft> | <topCenter> | <topRight> | <centerLeft> | <center> | <centerRight> | <bottomLeft> | <bottomCenter> | <bottomRight>}
get the alignImage of widget

Description​

Use the alignImages property to specify how the image is aligned in the widget.

Examples​

set the alignImage of widget "Circle Avatar" to "topRight"

Compatibility and Support​

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile

web